Semantic segmentation method and system for high-resolution remote sensing image based on random blocks

ABSTRACT

A semantic segmentation method and system for a high-resolution remote sensing image based on random blocks. In the semantic segmentation method, the high-resolution remote sensing image is divided into random blocks, and semantic segmentation is performed for each individual random block separately, thus avoiding overflow of GPU memory during semantic segmentation of the high-resolution remote sensing image. In addition, feature data in random blocks neighboring each random block incorporated into the process of semantic segmentation, overcoming the technical shortcoming that the existing segmentation method for the remote sensing image weakens the correlation within the image. Moreover, in the semantic segmentation method, semantic segmentation is separately performed on mono-spectral feature data in each band of the high-resolution remote sensing image, thus enhancing the accuracy of sematic segmentation of the high-resolution remote sensing image.

CROSS REFERENCE TO RELATED APPLICATION

This application is a U.S. patent application, which claims priority to Chinese Patent Application No. 202010708331.6, filed on Jul. 22, 2020, the contents of which are herein incorporated by reference.

TECHNICAL FIELD

The present disclosure relates to the field of image processing technologies, and in particular, to a semantic segmentation method and system for a high-resolution remote sensing image based on random blocks.

BACKGROUND

Semantic segmentation is one of the hottest topics in the field of computer vision at present, which aims to classify each pixel of an image as a predefined category. Various semantic segmentation models for different tasks have been proposed in succession and attained remarkable results. Likewise, in the field of high-resolution remote sensing, semantic segmentation also plays an important role in remote sensing images. For example, the proportion of water resources in the ecosystem is monitored in real time by detecting the water resources such as rivers, lakes, and glaciers; and urban development degree is assessed by detecting the distribution of city lights, providing guidance for further development of the city.

In the past ten years, increasingly more high-resolution remote sensing satellites have been launched into space, and have fed back numerous high-resolution remote sensing images incessantly. These remote sensing images are cheap to acquire and rich in content, and further can be dynamically updated. However, different from conventional computer images, these high-resolution remote sensing images are multispectral, and different ranges of spectrums show different sensitivities to corresponding ground objects in the image. Therefore, the high-resolution remote sensing images can be used for detailed detection of objects.

At present, semantic segmentation models for the remote sensing images are constructed basically based on conventional image semantic segmentation networks, among which a Full Convolution Network (FCN) is mainly used. In these means, an image with the random size can be input into the FCN, and is reduced by half in size after going through a convolutional layer and a pooling layer until the image is reduced to the minimum size, to generate a heat map. Finally, the size of the image is restored by means of upsampling, and a pixel-level probability plot is the output to achieve the purpose of predicting each pixel. The well-known U-Net network is improved from such a framework (namely, the FCN). However, it is not difficult to find that although having made great progress in the task of semantic segmentation for common images, the semantic segmentation network is unsatisfactory in processing the multispectral remote sensing images with a large data amount. Common high-resolution remote sensing images have a huge data amount compared to the common images, and usually a single remote sensing image can be gigabyte-sized. If such an image is directly applied in an existing network, overflow of GPU memory is likely to occur. On the other hand, if remote sensing images are directly segmented into blocks, the correlation within the image will lose. Moreover, because the high-resolution remote sensing images are taken from long distances in the sky, the existing network often fails to identify specific categories of ground objects with the same colors, for example, grasslands and forests. How to overcome the technical shortcoming that the existing semantic segmentation method for the high-resolution remote sensing image causes the overflow of GPU memory and is unable to identify objects with the same or similar colors becomes a technical problem, so as to improve the accuracy of semantic segmentation of the high-resolution remote sensing image.

SUMMARY

The objective of the present disclosure is to provide a semantic segmentation method and system for a high-resolution remote sensing image based on random blocks, so as to overcome the technical shortcoming that the existing semantic segmentation method for the high-resolution remote sensing image causes the overflow of GPU memory and is unable to identify objects with the same or similar colors, thus improving the accuracy of semantic segmentation of the high-resolution remote sensing image.

To achieve the above purpose, the present disclosure provides the following technical solutions.

A semantic segmentation method for a high-resolution remote sensing image based on random blocks includes:

partitioning a high-resolution remote sensing image into a plurality of random blocks;

extracting mono-spectral feature data in each band from each random block;

performing semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block; and

fusing mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block.

Optionally, the partitioning the high-resolution remote sensing image into random blocks, to obtain a plurality of random blocks specifically includes:

randomly selecting a pixel point do in a central area of the high-resolution remote sensing image;

cropping a square from the high-resolution remote sensing image to obtain a random block p₀, where the square is centered at the pixel point d₀ and has a randomly generated side length of len(p₀);

further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃, and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃ and p₀₄ which neighbor the random block p₀, where the side length of each square is in a range of 512≤len(·)≤1024; and

repeating the step of “further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀”, to continuously generate random blocks neighboring each newly generated random block until these newly generated random blocks all reach edges of the high-resolution remote sensing image.

Optionally, the supervised semantic segmentation network includes an encoder, an RNN network, a decoder, a first supervision module, a second supervision module, and a third supervision module;

the encoder, the RNN network, and the decoder are successively connected; and

the first supervision module is arranged in the last layer of the encoder, the second supervision module is arranged in the first layer of the decoder, and the third supervision module is arranged in the second layer of the decoder.

Optionally, the performing semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block specifically includes:

extracting abstract features from mono-spectral feature data in the jth bands of the ith random block p_(i) and a random block p_(im) neighboring the ith random block p_(i) by using the encoder and according to a formula

F_(i)^(j) = En(P_(i)^(j)) F_(im)^(j) = En(P_(im)^(j)), m = 1, 2, 3, 4, to obtain abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), where F_(i) ^(j) denotes an abstract feature map regarding the jth band of the random block p_(i), En(□) denotes the encoder, and F_(im) ^(j) denotes an abstract feature map regarding the jth band of the mth random block p_(im) neighboring the random block p_(i);

based on the abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), establishing neighborhood association between abstract feature maps regarding the jth bands of the ith random block p_(i) and four random blocks neighboring the ith random block p_(i) via the RNN network and by using the formula

$h_{F_{im}^{j}} = \begin{Bmatrix} {{\phi\left( {{uF}_{im}^{j} + b} \right)},} & {m = 1} \\ {{\phi\left( {{uF}_{im}^{j} + {wh}_{F_{i{({m - 1})}}^{j}} + b} \right)},} & {{m = 2},3,4} \end{Bmatrix}$ h_(F_(i)^(j)) = ϕ(uF_(i)^(j) + wh_(F_(i4)^(j)) + b) y_(F_(im)^(j)) = σ(Vh_(F_(im)^(j)) + c) y_(F_(i)^(j)) = σ(Vh_(F_(i)^(j)) + c), to obtain abstract features of the jth band of the ith random block p_(i) after the neighborhood association, where h_(F) _(im) _(j) , h_(F) _(i(m-1)) _(j) , and h_(F) _(i4) _(j) respectively denote outputs of abstract feature maps F_(im) ^(j) regarding the jth bands of the mth random block p_(im), the (m−1)th random block p_(i(m-1)), and the fourth random block p_(i4) which neighbor the ith random block p_(i) at the hidden layer in the RNN network; h_(F) _(i) _(j) denotes an output of the abstract feature map F_(i) ^(j) regarding the jth band of the ith random block p_(i) at the hidden layer in the RNN network; y_(F) _(im) _(j) abstract features of the jth band of the mth random block p_(im) neighboring the ith random block p_(i) after the neighborhood association; y_(F) _(i) _(j) denotes the abstract features of the jth band of the ith random block p_(i) after the neighborhood association; ϕ(·) denotes a first nonlinear function and σ(·) denotes a second nonlinear function; u denotes a first transposed matrix, V denotes a second transposed matrix, and w denotes a third transposed matrix; and b denotes a first bias term and c denotes a second bias term;

decoding, with the decoder and by using a formula p_(i) ^(j)=De(y_(F) _(i) _(j) ), the abstract features of the jth band of the ith random block that are obtained after the neighborhood association, to obtain a mono-spectral semantic segmentation probability plot p_(i) ^(j) regarding the jth band of the ith random block p_(i); and

supervising feature data output by the encoder, feature data output by the RNN network, and feature data output by the decoder respectively with the first, second, and third supervision modules.

Optionally, before the fusing mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block, the method further includes:

constructing a weight training network for the plurality of mono-spectral semantic segmentation probability plots, where the weight training network includes a plurality of parallel supervised semantic segmentation networks and a convolution fusion module; and

based on the multiple pieces of mono-spectral feature data of the random block, performing weight training on the mono-spectral semantic segmentation probability plot regarding each band by using the weight training network, to obtain a trained weight.

A semantic segmentation system for a high-resolution remote sensing image based on random blocks includes:

an image partitioning module, configured to partition a high-resolution remote sensing image into a plurality of random blocks;

a mono-spectral feature data extraction module, configured to extract mono-spectral feature data in each band from each random block;

a semantic segmentation module, configured to: perform semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block; and

a fusion module, configured to fuse mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block.

Optionally, the image partitioning module specifically includes

a pixel point selection submodule, configured to randomly select a pixel point d₀ in a central area of the high-resolution remote sensing image;

a first image partitioning submodule, configured to crop a square from the high-resolution remote sensing image to obtain a random block p₀, where the square is centered at the pixel point d₀ and has a randomly generated side length of len(p₀);

a second image partitioning submodule, configured to further crop squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len (p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀, where the side length of each square is in a range of 512≤len(·)≤1024; and

a third image partitioning submodule, configured to repeat the step of “further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀”, to continuously generate random blocks neighboring each newly generated random block until these newly generated random blocks all reach edges of the high-resolution remote sensing image.

Optionally, the supervised semantic segmentation network includes an encoder, an RNN network, a decoder, a first supervision module, a second supervision module, and a third supervision module;

the encoder, the RNN network, and the decoder are successively connected; and

the first supervision module is arranged in the last layer of the encoder, the second supervision module is arranged in the first layer of the decoder, and the third supervision module is arranged in the second layer of the decoder.

Optionally, the semantic segmentation module specifically includes:

an encoding submodule, configured to extract abstract features from mono-spectral feature data in the jth bands of the ith random block p_(i) and a random block p_(im) neighboring the ith random block p_(i) by using the encoder and according to a formula

F_(i)^(j) = En(P_(i)^(j)) F_(im)^(j) = En(P_(im)^(j)), m = 1, 2, 3, 4, to obtain abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), where F_(i) ^(j) denotes an abstract feature map regarding the jth band of the random block p_(i), En(□) denotes the encoder, and denotes an abstract feature map regarding the jth band of the mth random block p_(im) neighboring the random block p_(i);

a neighborhood feature association submodule, configured to: based on the abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), establish neighborhood association between abstract feature maps regarding the jth bands of the ith random block p_(i) and four random blocks neighboring the ith random block p_(i) via the RNN network and by using the formula

$h_{F_{im}^{j}} = \begin{Bmatrix} {{\phi\left( {{uF}_{im}^{j} + b} \right)},} & {m = 1} \\ {{\phi\left( {{uF}_{im}^{j} + {wh}_{F_{i{({m - 1})}}^{j}} + b} \right)},} & {{m = 2},3,4} \end{Bmatrix}$ h_(F_(i)^(j)) = ϕ(uF_(i)^(j) + wh_(F_(i4)^(j)) + b) y_(F_(im)^(j)) = σ(Vh_(F_(im)^(j)) + c) y_(F_(i)^(j)) = σ(Vh_(F_(i)^(j)) + c), to obtain abstract features of the jth band of the ith random block p_(i) after the neighborhood association, where h_(F) _(im) _(j) , h_(F) _(i(m-1)) _(j) , and h_(F) _(i4) _(j) respectively denote outputs of abstract feature maps F_(im) ^(j) regarding the jth bands of the mth random block p_(im), the (m−1)th random block p_(i(m-1)), and the fourth random block p_(i4) which neighbor the ith random block p_(i) at the hidden layer in the RNN network; h_(F) _(i) _(j) denotes an output of the abstract feature map F_(i) ^(j) regarding the jth band of the ith random block p_(i) at the hidden layer in the RNN network; y_(F) _(im) _(j) denotes abstract features of the jth band of the mth random block p_(im), neighboring the ith random block p_(i) after the neighborhood association; y_(F) _(i) _(j) denotes the abstract features of the jth band of the ith random block p_(i) after the neighborhood association; ϕ(·) denotes a first nonlinear function and σ(·) denotes a second nonlinear function; u denotes a first transposed matrix, V denotes a second transposed matrix, and w denotes a third transposed matrix; and b denotes a first bias term and c denotes a second bias term;

a decoding submodule, configured to decode, with the decoder and by using a formula p_(i) ^(j)=De(y_(F) _(i) _(j) ), the abstract features of the jth band of the ith random block that are obtained after the neighborhood association, to obtain a mono-spectral semantic segmentation probability plot p_(i) ^(j) regarding the jth band of the ith random block p_(i); and

a supervision submodule, configured to supervise feature data output by the encoder, feature data output by the RNN network, and feature data output by the decoder respectively with the first, second, and third supervision modules.

Optionally, the semantic segmentation system for a high-resolution remote sensing image based on random blocks further includes:

a weight training network construction module, configured to construct a weight training network for the plurality of mono-spectral semantic segmentation probability plots, where the weight training network includes a plurality of parallel supervised semantic segmentation networks and a convolution fusion module; and

a weight training module, configured to: based on the multiple pieces of mono-spectral feature data of the random block, perform weight training on the mono-spectral semantic segmentation probability plot regarding each band by using the weight training network, to obtain the trained weight.

According to specific embodiments provided by the present disclosure, the present disclosure discloses the following technical effects.

The present disclosure discloses a semantic segmentation method for a high-resolution remote sensing image based on random blocks, where the semantic segmentation method includes: partitioning a high-resolution remote sensing image into a plurality of random blocks; extracting mono-spectral feature data in each band from each random block; performing semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block; and fusing mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block. The present disclosure divides the high-resolution remote sensing image into random blocks, and performs semantic segmentation for each individual random block separately, thus avoiding overflow of GPU memory during semantic segmentation of the high-resolution remote sensing image. In addition, the present disclosure incorporates feature data in random blocks neighboring each random block in the process of semantic segmentation, overcoming the technical shortcoming that the existing segmentation method for the remote sensing image weakens the correlation within the image. Moreover, the present disclosure performs semantic segmentation separately on mono-spectral feature data in each band of the high-resolution remote sensing image, so that objects with the same or similar colors can be accurately identified according to the characteristic that different ground objects have different sensitivities to light with different spectrums, thus enhancing the accuracy of sematic segmentation of the high-resolution remote sensing image.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the present disclosure or in the related art more clearly, the following briefly describes the accompanying drawings required for the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and those of ordinary skill in the art may still derive other accompanying drawings from these accompanying drawings without creative efforts.

FIG. 1 is a flowchart of a semantic segmentation method for a high-resolution remote sensing image based on random blocks provided by the present disclosure;

FIG. 2 is a principle diagram of image partitioning into random blocks provided by the present disclosure;

FIG. 3 is a schematic structural diagram of a supervised semantic segmentation network provided by the present disclosure; and

FIG. 4 is a schematic structural diagram of a weight training network provided by the present disclosure.

DETAILED DESCRIPTION

Certain embodiments herein provide a semantic segmentation method and system for a high-resolution remote sensing image based on random blocks, so as to overcome the technical shortcoming that the existing semantic segmentation method for the high-resolution remote sensing image causes the overflow of GPU memory and is unable to identify objects with the same or similar colors, thus improving the accuracy of semantic segmentation of the high-resolution remote sensing image.

To make the foregoing objective, features, and advantages of the present disclosure clearer and more comprehensible, the present disclosure is further described in detail below with reference to the accompanying drawings and specific embodiments.

To achieve the above objective, the present disclosure provides the following solutions: Generally, a high-resolution remote sensing image covers a very wide geographic area and has a huge data amount which may be gigabyte-sized. In addition, the high-resolution remote sensing image usually contains four or more spectral bands, among which a blue band from 0.45-0.52 μm, a green band from 0.52-0.60 μm, a red band from 0.62-0.69 μm, and a near-infrared band from 0.76-0.96 μm are the most common spectral bands. However, the exiting semantic segmentation network seldom considers the effects of the different bands on semantic segmentation. In addition, limited by the receptive field, most convolutional neural networks (CNNs) for semantic segmentation can only acquire limited context information, easily resulting in divergence in classification of visually similar pixels. Therefore, certain embodiments herein focus on the effects with different spectrums on semantic segmentation, and employs a recurrent neural network (RNN) to enhance dependency between pixels.

As shown in FIG. 1, a semantic segmentation method for a high-resolution remote sensing image based on random blocks, where the semantic segmentation method includes:

Step 101: Partition a high-resolution remote sensing image into a plurality of random blocks.

The step of partitioning a high-resolution remote sensing image into a plurality of random blocks specifically includes: randomly selecting a pixel point d₀ in a central area of the high-resolution remote sensing image; cropping a square from the high-resolution remote sensing image to obtain a random block p₀, where the square is centered at the pixel point d₀ and has a randomly generated side length of len(p₀); further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀, where the side length of each square is in a range of 512≤len(·)≤1024; and repeating the step of “further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀”, to continuously generate random blocks neighboring each newly generated random block until these newly generated random blocks all reach edges of the high-resolution remote sensing image.

Specifically, as shown in FIG. 2, it is assumed that the height and the width of an input high-resolution remote sensing image

are respectively H(

) and

(

). First, a pixel point d₀ is randomly selected from the high-resolution remote sensing image, and the position of d₀ may be denoted as a vector (x₀, y₀). A square is randomly cropped from the image at the point d₀, to generate a random block

₀. The side length of the random block

₀ is denoted as

(

₀) The four vertices of the block

₀ from the upper left corner to the lower right corner in a clockwise direction are d₀₁, d₀₂, d₀₃, and d₀₄ respectively:

$d_{01}:\left( {{x_{0} - {\frac{1}{2}{{len}\left( P_{0} \right)}}},{y_{0} + {\frac{1}{2}{{len}\left( P_{0} \right)}}}} \right)$ $d_{02}:\left( {{x_{0} + {\frac{1}{2}{{len}\left( P_{0} \right)}}},{y_{0} + {\frac{1}{2}{{len}\left( P_{0} \right)}}}} \right)$ $d_{03}:\left( {{x_{0} + {\frac{1}{2}{{len}\left( P_{0} \right)}}},{y_{0} - {\frac{1}{2}{{len}\left( P_{0} \right)}}}} \right)$ $d_{04}:\left( {{x_{0} - {\frac{1}{2}{{len}\left( P_{0} \right)}}},{y_{0} - {\frac{1}{2}{{len}\left( P_{0} \right)}}}} \right)$

To realize proliferation of random blocks from

₀, four square images (generated based on the same rule as the random block

₀) respectively centered at the four vertices d₀₁, d₀₂, d₀₃, and d₀₄ of the block

₀ are randomly captured, to generate new random blocks

_(i), i=1, 2, 3, 4. Likewise, the four vertices of each newly generated random block are named as d_(i1), d_(i2), d_(i3), d_(i4), i=1, 2, 3, 4. The foregoing process is repeated for

times, till these captured random blocks

_(i) reach the edges of the image (if one of the random blocks reach an edge of the image, proliferation based on this random block is stopped), thus guaranteeing that the random blocks are spread all over the whole high-resolution remote sensing image

.

After

proliferations (

is an integer), the total number of the random blocks reaches num

which is calculated as follows:

${num}_{p} = \begin{Bmatrix} 1 & {N = 0} \\ {1 + {\sum\limits_{i = 1}^{N}\; 4^{N}}} & {N > 0} \end{Bmatrix}$

In order that a combination of all the random blocks can cover all pixels of the remote sensing image, the side length of each random block is limited as follows:

The side length of each square is limited in a range of 512≤len(·)≤1024.

Step 102: Extract mono-spectral feature data in each band from each random block. The random block and its neighboring random blocks are all composed of multiple bands. Because specific ground objects have different sensitivities to different bands, it is required to perform extraction for these bands separately, to acquire multiple pieces of mono-spectral feature data from the random block and mono-spectral feature data from its neighboring random blocks. Multispectral feature data is extracted from the random block and its neighboring random blocks. Because the high-resolution remote sensing image is composed of multiple bands and specific ground objects have different sensitivities to the different bands, it is required to perform extraction for these bands separately. Generally, a remote sensing image is composed of four spectral bands, which are a blue band from 0.45 μm to 0.52 μm, a green band from 0.52 μm to 0.60 μm, a red band from 0.62 μm to 0.69 μm, and a near-infrared band from 0.76 μm to 0.96 μm. The remote sensing image is usually represented as four-channel mono-spectral feature data by a computer, and these several bands may be read directly by using the Geospatial Data Abstraction Library (GDAL) in python.

Step 103: Perform semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block.

As shown in FIG. 3, Cony denotes a convolutional layer, Pooling denotes downsampling by a pooling layer, upsampling denotes an upsampling layer, Bi denotes a bilinear interpolation operation, denotes h

_(im) an output of a feature map

_(im) at a hidden layer in the RNN network, h

_(i) denotes an output of a feature map

_(i) at the hidden layer in the RNN network, y

_(im) denotes an output of h

_(im) , y

_(i) denotes an output of denote transposed matrices,

_(i) denotes an advanced abstract feature generated after a random block

_(i) is processed by an encoder En(·), and

_(im) denotes an advanced abstract feature generated after one neighboring random block

_(im) of the random block

_(i) is processed by the encoder En(·), where m is a subscript. As shown in FIG. 3, the supervised semantic segmentation network includes an encoder, an RNN network, a decoder, a first supervision module, a second supervision module, and a third supervision module. The encoder, the RNN network, and the decoder are successively connected. The first supervision module is arranged in the last layer of the encoder, the second supervision module is arranged in the first layer of the decoder, and the third supervision module is arranged in the second layer of the decoder.

The step 103 of performing semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block specifically includes the following process:

Abstract features are extracted from mono-spectral feature data in the jth bands of the ith random block p_(i) and a random block p_(im) neighboring the ith random block p_(i) by using the encoder and according to a formula

F_(i)^(j) = En(P_(i)^(j)) F_(im)^(j) = En(P_(im)^(j)), m = 1, 2, 3, 4, to obtain abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), where F_(i) ^(j) denotes an abstract feature map regarding the jth band of the random block p_(i), En(□), denotes the encoder, and F_(im) ^(j) denotes an abstract feature map regarding the jth band of the mth random block p_(im) neighboring the random block p_(i). Specifically, by using the random block p_(i) as an image unit, the neighborhood of the random block p_(i) covers four random blocks randomly captured at the four vertices d_(i1), d_(i2), d_(i3), d_(i4) of

_(i), which are denoted as

_(i1),

_(i2),

_(i3),

_(i4) herein for convenience. The four random blocks are nearest to the random block p_(i), and there are overlapping image regions. Therefore, they are highly correlated in content. Based on a dependence relationship between images, semantic segmentation subnetworks can output semantic segmentation probability plots with the same size as an input image, for ease of fusion.

To achieve a semantic segmentation function, certain embodiments herein use a typical framework U-Net for semantic segmentation. First, advanced abstract features are extracted from the image by using the encoder.

Afterwards, F_(im) ^(j), (m=1, 2, 3, 4) and F_(i) ^(j) are sequentially input into the RNN network, to establish a dependence relationship between the four neighboring random blocks and the random block p_(i). Based on the abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), neighborhood association is established between abstract feature maps regarding the jth bands of the ith random block p_(i) and four random blocks neighboring the ith random block p_(i) via the RNN network and by using the formula

$h_{F_{im}^{j}} = \begin{Bmatrix} {{\phi\left( {{uF}_{im}^{j} + b} \right)},} & {m = 1} \\ {{\phi\left( {{uF}_{im}^{j} + {wh}_{F_{i{({m - 1})}}^{j}} + b} \right)},} & {{m = 2},3,4} \end{Bmatrix}$ h_(F_(i)^(j)) = ϕ(uF_(i)^(j) + wh_(F_(i4)^(j)) + b) y_(F_(im)^(j)) = σ(Vh_(F_(im)^(j)) + c) y_(F_(i)^(j)) = σ(Vh_(F_(i)^(j)) + c), to obtain abstract features of the jth band of the ith random block p_(i) after the neighborhood association, where h_(F) _(im) _(j) , h_(F) _(i(m-1)) _(j) , and h_(F) _(i4) _(j) respectively denote outputs of abstract feature maps F_(im) ^(j) regarding the jth bands of the mth random block p_(im), the (m−1)th random block p_(i(m-1)), and the fourth random block p_(i4) which neighbor the ith random block p_(i) at the hidden layer in the RNN network; h_(F) _(i) _(j) denotes an output of the abstract feature map F_(i) ^(j) regarding the jth band of the ith random block p_(i) at the hidden layer in the RNN network; y_(F) _(im) _(j) abstract features of the jth band of the mth random block p_(im) neighboring the ith random block p_(i) after the neighborhood association; y_(F) _(i) _(j) denotes the abstract features of the jth band of the ith random block p_(i) after the neighborhood association; ϕ(·) denotes a first nonlinear function and σ(·) denotes a second nonlinear function; u denotes a first transposed matrix, v denotes a second transposed matrix, and w denotes a third transposed matrix; and b denotes a first bias term and c denotes a second bias term. The abstract features of the jth band of the ith random block that are obtained after the neighborhood association are decoded with the decoder and by using a formula p_(i) ^(j)=De(y_(F) _(i) _(j) ), to obtain a mono-spectral semantic segmentation probability plot p_(i) ^(j) regarding the jth band of the ith random block p_(i).

Feature data output by the encoder, feature data output by the RNN network, and feature data output by the decoder are supervised respectively with the first, second, and third supervision modules. Specifically, in order to improve the performance of semantic segmentation, classification are made pixel by pixel and upsampling is performed subsequently by means of a bilinear interpolation to restore the image to the original size, which will be performed respectively in a convolutional layer in the last layer of the encoder, in the first layer of the decoder and in the second layer of the decoder; and finally, a cross-entropy loss function is used to evaluate the performance of the encoder, the RNN network, and the decoder, thus monitoring the network from these three aspects. The calculation equation is as follows: y _(pre) =

i(conv1(

))

=−Σy _(true) log y _(pre)+(1−y _(true))log(1−y _(pre))

where y_(pre) denotes a predicted probability, which is a semantic segmentation probability plot, regarding output features

of a supervised layer after processing by the convolutional layer and a bilinear interpolation layer; conv1(·) denotes a convolution for classification;

(·) denotes a bilinear interpolation operation; and

denotes a loss difference between the predicated probability y_(pre) calculated by using the cross-entropy loss function and a true label y_(true).

A weight training network is constructed for the plurality of mono-spectral semantic segmentation probability plots. As shown in FIG. 4, the weight training network includes a plurality of parallel supervised semantic segmentation networks and a convolution fusion module. In the mode of multiple parallel semantic segmentation subnetworks, the weight training network trains each semantic segmentation subnetwork separately by using the mono-spectral feature data of each random block and its neighboring random blocks, to obtain semantic segmentation probability plots of the mono-spectral feature data. Finally, the semantic segmentation probability plots of multiple pieces of mono-spectral data of the random blocks are fused by using a convolutional layer, to obtain a fused probability plot.

A spectral image with different spectrums shows different sensitivities to different ground objects, and therefore weight training can be performed according to an identified target. Specifically, based on the multiple pieces of mono-spectral feature data of the random block, weight training is performed on the mono-spectral semantic segmentation probability plot regarding each band by using the weight training network, to obtain a trained weight. By continuously inputting mono-spectral feature data of new random blocks and their neighboring random blocks, outputs from an input layer to the hidden layer and from the hidden layer to an output layer are calculated by means of forward propagation, and the network is optimized by means of back propagation, such that weight parameters in the weight training network are continuously updated till convergence.

Step 104: Fuse mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block.

After the mono-spectral feature data in each band of each random block is processed by the semantic segmentation subnetworks, a semantic segmentation probability plot p_(i) ^(j) is generated. These semantic segmentation probability plots are fused to obtain a fused semantic segmentation probability plot, which may be specifically expressed as follows: out=conv2(p _(i) ¹ , . . . ,p _(i) ^(j)),j=1,2, . . . max(j)

where out denotes the fused semantic segmentation probability plot, conv2 denotes an operation of using a convolutional layer for spectral fusion, and max (j) denotes the number of bands contained in the high-resolution remote sensing image.

Road information, bridge information, and the like to be detected are acquired according to the fused semantic segmentation probability plot from the high-resolution remote sensing image.

Certain embodiments herein further provide a semantic segmentation system for a high-resolution remote sensing image based on random blocks, where the semantic segmentation system includes the following modules:

An image partitioning module is configured to partition a high-resolution remote sensing image into a plurality of random blocks.

The image partitioning module specifically includes: a pixel point selection submodule, configured to randomly select a pixel point d₀ in a central area of the high-resolution remote sensing image; a first image partitioning submodule, configured to crop a square from the high-resolution remote sensing image to obtain a random block p₀, where the square is centered at the pixel point d₀ and has a randomly generated side length of len(p₀); a second image partitioning submodule, configured to further crop squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀, where the side length of each square is in a range of 512≤len(·)≤1024; and a third image partitioning submodule, configured to repeat the step of “further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀”, to continuously generate random blocks neighboring each newly generated random block until these newly generated random blocks all reach edges of the high-resolution remote sensing image.

A mono-spectral feature data extraction module is configured to extract mono-spectral feature data in each band from each random block.

A semantic segmentation module is configured to: perform semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block.

The supervised semantic segmentation network includes an encoder, an RNN network, a decoder, a first supervision module, a second supervision module, and a third supervision module. The encoder, the RNN network, and the decoder are successively connected. The first supervision module is arranged in the last layer of the encoder, the second supervision module is arranged in the first layer of the decoder, and the third supervision module is arranged in the second layer of the decoder.

The semantic segmentation module specifically includes: an encoding submodule, configured to extract abstract features from mono-spectral feature data in the jth bands of the ith random block p_(i) and a random block p_(im) neighboring the ith random block p_(i) by using the encoder and according to a formula

F_(i)^(j) = En(P_(i)^(j)) F_(im)^(j) = En(P_(im)^(j)), m = 1, 2, 3, 4, to obtain abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), where F_(i) ^(j) denotes an abstract feature map regarding the jth band of the random block p_(i), En(□) denotes the encoder, and F_(im) ^(j) denotes an abstract feature map regarding the jth band of the mth random block p_(im) neighboring the random block p_(i); a neighborhood feature association submodule, configured to: based on the abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), establish neighborhood association between abstract feature maps regarding the jth bands of the ith random block p_(i) and four random blocks neighboring the ith random block p_(i) via the RNN network and by using the formula

$h_{F_{im}^{j}} = \begin{Bmatrix} {{\phi\left( {{uF}_{im}^{j} + b} \right)},} & {m = 1} \\ {{\phi\left( {{uF}_{im}^{j} + {wh}_{F_{i{({m - 1})}}^{j}} + b} \right)},} & {{m = 2},3,4} \end{Bmatrix}$ h_(F_(i)^(j)) = ϕ(uF_(i)^(j) + wh_(F_(i4)^(j)) + b) y_(F_(im)^(j)) = σ(Vh_(F_(im)^(j)) + c) y_(F_(i)^(j)) = σ(Vh_(F_(i)^(j)) + c), to obtain abstract features of the jth band of the ith random block p_(i) after the neighborhood association, where h_(F) _(im) _(j) , h_(F) _(i(m-1)) _(j) , and h_(F) _(i4) _(j) respectively denote outputs of abstract feature maps F_(im) ^(j) regarding the jth bands of the mth random block p_(im), the (m−1)th random block p_(i(m−1)), and the fourth random block p_(i4) which neighbor the ith random block p_(i) at the hidden layer in the RNN network; h_(F) _(i) _(j) denotes an output of the abstract feature map F_(i) ^(j) regarding the jth band of the ith random block p_(i) at the hidden layer in the RNN network; y_(F) _(im) _(j) abstract features of the jth band of the mth random block p_(im) neighboring the ith random block p_(i) after the neighborhood association; y_(F) _(i) _(j) denotes the abstract features of the jth band of the ith random block p_(i) after the neighborhood association; ϕ(·) denotes a first nonlinear function and σ(·) denotes a second nonlinear function; u denotes a first transposed matrix, v denotes a second transposed matrix, and w denotes a third transposed matrix; and b denotes a first bias term and c denotes a second bias term; a decoding submodule, configured to decode, with the decoder and by using a formula p_(i) ^(j)=De(y_(F) _(i) _(j) ), the abstract features of the jth band of the ith random block that are obtained after the neighborhood association, to obtain a mono-spectral semantic segmentation probability plot p_(i) ^(j) regarding the jth band of the ith random block p_(i); and a supervision submodule, configured to supervise feature data output by the encoder, feature data output by the RNN network, and feature data output by the decoder respectively with the first, second, and third supervision modules.

A fusion module is configured to fuse mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block.

The semantic segmentation system further includes: a weight training network construction module, configured to construct a weight training network for the plurality of mono-spectral semantic segmentation probability plots, where the weight training network includes a plurality of parallel supervised semantic segmentation networks and a convolution fusion module; and a weight training module, configured to: based on the multiple pieces of mono-spectral feature data of the random block, perform weight training on the mono-spectral semantic segmentation probability plot regarding each band by using the weight training network, to obtain the trained weight.

The technical solutions of certain embodiments herein achieve the following advantages: Because a high-resolution remote sensing image is multispectral and has a large data amount, certain embodiments herein partition the remote sensing image into a plurality of small sections by means of random blocks, and further achieves data enhancement. Moreover, the remote sensing image with different spectrums shows different sensitivities to different ground objects, and therefore, the convolutional layer used in certain embodiments herein are equivalent to subjecting a predicted image with different spectrums to weighted summation. Certain embodiments herein divide the high-resolution remote sensing image into random blocks, and performs semantic segmentation for each individual random block separately, thus avoiding overflow of GPU memory during semantic segmentation of the high-resolution remote sensing image. In addition, certain embodiments herein incorporate feature data in random blocks neighboring each random block in the process of semantic segmentation, overcoming the technical shortcoming that the existing segmentation method for the remote sensing image weakens the correlation within the image. Moreover, certain embodiments herein perform semantic segmentation separately on mono-spectral feature data in each band of the high-resolution remote sensing image, so that objects with the same or similar colors can be accurately identified according to the characteristic that different ground objects have different sensitivities to light with different spectrums, thus enhancing the accuracy of sematic segmentation of the high-resolution remote sensing image.

Each embodiment of the present specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and identical or similar parts of the embodiments may be obtained with reference to each other.

The principles and implementations of the present disclosure have been described with reference to specific embodiments. The description of the above examples is only for facilitating understanding of the method and the core idea of the present disclosure, and the described embodiments are only a part of the embodiments of the present disclosure. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the present disclosure. 

What is claimed is:
 1. A semantic segmentation method for a high-resolution remote sensing image based on random blocks, comprising: partitioning a high-resolution remote sensing image into a plurality of random blocks; extracting mono-spectral feature data in each band from each random block; performing semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block; and fusing mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block.
 2. The semantic segmentation method for a high-resolution remote sensing image based on random blocks according to claim 1, wherein the partitioning the high-resolution remote sensing image into random blocks, to obtain a plurality of random blocks specifically comprises: randomly selecting a pixel point d₀ in a central area of the high-resolution remote sensing image; cropping a square from the high-resolution remote sensing image to obtain a random block p₀, wherein the square is centered at the pixel point d₀ and has a randomly generated side length of len(p₀); further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃, and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃ and p₀₄ which neighbor the random block p₀, wherein the side length of each square is in a range of 512≤len(·)≤1024; and repeating the step of “further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀”, to continuously generate random blocks neighboring each newly generated random block until these newly generated random blocks all reach edges of the high-resolution remote sensing image.
 3. The semantic segmentation method for a high-resolution remote sensing image based on random blocks according to claim 1, wherein the supervised semantic segmentation network comprises an encoder, an RNN network, a decoder, a first supervision module, a second supervision module, and a third supervision module; the encoder, the RNN network, and the decoder are successively connected; and the first supervision module is arranged in the last layer of the encoder, the second supervision module is arranged in the first layer of the decoder, and the third supervision module is arranged in the second layer of the decoder.
 4. The semantic segmentation method for a high-resolution remote sensing image based on random blocks according to claim 3, wherein the performing semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block specifically comprises: extracting abstract features from mono-spectral feature data in the jth bands of the ith random block p_(i) and a random block p_(im) neighboring the ith random block p_(i) by using the encoder and according to a formula F_(i)^(j) = En(P_(i)^(j)) F_(im)^(j) = En(P_(im)^(j)), m = 1, 2, 3, 4, to obtain abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), wherein F_(i) ^(j) denotes an abstract feature map regarding the jth band of the random block p_(i), En(□) denotes the encoder, and F_(im) ^(j) denotes an abstract feature map regarding the jth band of the mth random block p_(im) neighboring the random block p_(i); based on the abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), establishing neighborhood association between abstract feature maps regarding the jth bands of the ith random block p_(i) and four random blocks neighboring the ith random block p_(i) via the RNN network and by using the formula $h_{F_{im}^{j}} = \begin{Bmatrix} {{\phi\left( {{uF}_{im}^{j} + b} \right)},} & {m = 1} \\ {{\phi\left( {{uF}_{im}^{j} + {wh}_{F_{i{({m - 1})}}^{j}} + b} \right)},} & {{m = 2},3,4} \end{Bmatrix}$ h_(F_(i)^(j)) = ϕ(uF_(i)^(j) + wh_(F_(i4)^(j)) + b) y_(F_(im)^(j)) = σ(Vh_(F_(im)^(j)) + c) y_(F_(i)^(j)) = σ(Vh_(F_(i)^(j)) + c),  to obtain abstract features of the jth band of the ith random block p_(i) after the neighborhood association, wherein, h_(F) _(im) _(j) , h_(F) _(i(m-1)) _(j) , and h_(F) _(i4) _(j) respectively denote outputs of abstract feature maps F_(im) ^(j) regarding the jth bands of the mth random block p_(im), the (m−1)th random block p_(i(m-1)), and the fourth random block p_(i4) which neighbor the ith random block p_(i) at the hidden layer in the RNN network; h_(F) _(i) _(j) denotes an output of the abstract feature map F_(i) ^(j) regarding the jth band of the ith random block p_(i) at the hidden layer in the RNN network; y_(F) _(im) _(j) abstract features of the jth band of the mth random block p_(im) neighboring the ith random block p_(i) after the neighborhood association; y_(F) _(i) _(j) denotes the abstract features of the jth band of the ith random block p_(i) after the neighborhood association; ϕ(·) denotes a first nonlinear function and σ(·) denotes a second nonlinear function; u denotes a first transposed matrix, V denotes a second transposed matrix, and w denotes a third transposed matrix; and b denotes a first bias term and c denotes a second bias term; decoding, with the decoder and by using a formula p_(i) ^(j)=De(y_(F) _(i) _(j) ), the abstract features of the jth band of the ith random block that are obtained after the neighborhood association, to obtain a mono-spectral semantic segmentation probability plot p_(i) ^(j) regarding the jth band of the ith random block p_(i); and supervising feature data output by the encoder, feature data output by the RNN network, and feature data output by the decoder respectively with the first, second, and third supervision modules.
 5. The semantic segmentation method for a high-resolution remote sensing image based on random blocks according to claim 1, wherein before the step of fusing mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block, the method further comprises: constructing a weight training network for the plurality of mono-spectral semantic segmentation probability plots, wherein the weight training network comprises a plurality of parallel supervised semantic segmentation networks and a convolution fusion module; and based on the multiple pieces of mono-spectral feature data of the random block, performing weight training on the mono-spectral semantic segmentation probability plot regarding each band by using the weight training network, to obtain a trained weight.
 6. A semantic segmentation system for a high-resolution remote sensing image based on random blocks, comprising: an image partitioning module, configured to partition a high-resolution remote sensing image into a plurality of random blocks; a mono-spectral feature data extraction module, configured to extract mono-spectral feature data in each band from each random block; a semantic segmentation module, configured to: perform semantic segmentation separately on the mono-spectral feature data in each band of each random block by using a supervised semantic segmentation network and with reference to mono-spectral feature data in each band of random blocks neighboring each random block, to obtain a mono-spectral semantic segmentation probability plot regarding each band of each random block; and a fusion module, configured to fuse mono-spectral semantic segmentation probability plots regarding all bands of each random block by using a trained weight, to obtain a fused semantic segmentation probability plot of each random block.
 7. The semantic segmentation system for a high-resolution remote sensing image based on random blocks according to claim 6, wherein the image partitioning module specifically comprises: a pixel point selection submodule, configured to randomly select a pixel point d₀ in a central area of the high-resolution remote sensing image; a first image partitioning submodule, configured to crop a square from the high-resolution remote sensing image to obtain a random block p₀, wherein the square is centered at the pixel point d₀ and has a randomly generated side length of len(p₀); a second image partitioning submodule, configured to further crop squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀, wherein the side length of each square is in a range of 512≤len(·)≤1024; and a third image partitioning submodule, configured to repeat the step of “further cropping squares which are respectively centered at the four vertices d₀₁, d₀₂, d₀₃ and d₀₄ of the random block p₀ and have randomly generated side lengths len(p₀₁), len(p₀₂), len(p₀₃), len(p₀₄) from the high-resolution remote sensing image, to generate random blocks p₀₁, p₀₂, p₀₃, and p₀₄ which neighbor the random block p₀”, to continuously generate random blocks neighboring each newly generated random block until these newly generated random blocks all reach edges of the high-resolution remote sensing image.
 8. The semantic segmentation system for a high-resolution remote sensing image based on random blocks according to claim 6, wherein the supervised semantic segmentation network comprises an encoder, an RNN network, a decoder, a first supervision module, a second supervision module, and a third supervision module; the encoder, the RNN network, and the decoder are successively connected; and the first supervision module is arranged in the last layer of the encoder, the second supervision module is arranged in the first layer of the decoder, and the third supervision module is arranged in the second layer of the decoder.
 9. The semantic segmentation system for a high-resolution remote sensing image based on random blocks according to claim 8, wherein the semantic segmentation module specifically comprises: an encoding submodule, configured to extract abstract features from mono-spectral feature data in the jth bands of the ith random block p_(i) and a random block p_(im) neighboring the ith random block p_(i) by using the encoder and according to a formula F_(i)^(j) = En(P_(i)^(j)) F_(im)^(j) = En(P_(im)^(j)), m = 1, 2, 3, 4, to obtain abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), wherein F_(i) ^(j) denotes an abstract feature map regarding the jth band of the random block p_(i), En(□) denotes the encoder, and F_(im) ^(j) denotes an abstract feature map regarding the jth band of the mth random block p_(im) neighboring the random block p_(i); a neighborhood feature association submodule, configured to: based on the abstract feature maps regarding the jth bands of the ith random block p_(i) and the random block p_(im) neighboring the ith random block p_(i), establish neighborhood association between abstract feature maps regarding the jth bands of the ith random block p_(i) and four random blocks neighboring the ith random block p_(i) via the RNN network and by using the formula $h_{F_{im}^{j}} = \begin{Bmatrix} {{\phi\left( {{uF}_{im}^{j} + b} \right)},} & {m = 1} \\ {{\phi\left( {{uF}_{im}^{j} + {wh}_{F_{i{({m - 1})}}^{j}} + b} \right)},} & {{m = 2},3,4} \end{Bmatrix}$ h_(F_(i)^(j)) = ϕ(uF_(i)^(j) + wh_(F_(i4)^(j)) + b) y_(F_(im)^(j)) = σ(Vh_(F_(im)^(j)) + c) y_(F_(i)^(j)) = σ(Vh_(F_(i)^(j)) + c),  to obtain abstract features of the jth band of the ith random block p_(i) after the neighborhood association, wherein h_(F) _(im) _(j) , h_(F) _(i(m-1)) _(j) , and h_(F) _(i4) _(j) respectively denote outputs of abstract feature maps F_(im) ^(j) regarding the jth bands of the mth random block p_(im), the (m−1)th random block p_(i(m-1)), and the fourth random block p_(i4) which neighbor the ith random block p_(i) at the hidden layer in the RNN network; h_(F) _(i) _(j) denotes an output of the abstract feature map F_(i) ^(j) regarding the jth band of the ith random block p_(i) at the hidden layer in the RNN network; y_(F) _(im) _(j) denotes abstract features of the jth band of the mth random block p_(im) neighboring the ith random block p_(i) after the neighborhood association; y_(F) _(i) _(j) denotes the abstract features of the jth band of the ith random block p_(i) after the neighborhood association; ϕ(·) denotes a first nonlinear function and σ(·) denotes a second nonlinear function; u denotes a first transposed matrix, V denotes a second transposed matrix, and w denotes a third transposed matrix; and b denotes a first bias term and c denotes a second bias term; a decoding submodule, configured to decode, with the decoder and by using a formula p_(i) ^(j)=De(y_(F) _(i) _(j) ), the abstract features of the jth band of the ith random block that are obtained after the neighborhood association, to obtain a mono-spectral semantic segmentation probability plot p_(i) ^(j) regarding the jth band of the ith random block p_(i); and a supervision submodule, configured to supervise feature data output by the encoder, feature data output by the RNN network, and feature data output by the decoder respectively with the first, second, and third supervision modules.
 10. The semantic segmentation system for a high-resolution remote sensing image based on random blocks according to claim 6, further comprising: a weight training network construction module, configured to construct a weight training network for the plurality of mono-spectral semantic segmentation probability plots, wherein the weight training network comprises a plurality of parallel supervised semantic segmentation networks and a convolution fusion module; and a weight training module, configured to: based on the multiple pieces of mono-spectral feature data of the random block, perform weight training on the mono-spectral semantic segmentation probability plot regarding each band by using the weight training network, to obtain the trained weight. 